#
#  NetFlow primary Makefile
#

SHELL = /bin/sh

RELEASE = 1.2.8

#----------------------------------------------------------- SETUP

TOPDIR = ../../../..
include $(TOPDIR)/Makefile.common

JAVAC = javac -classpath $(SSFNET_TEST_CLASSPATH)
JAVA  = java  -classpath $(SSFNET_TEST_CLASSPATH)

all: netflow Util Filter

#----------------------------------------------------------- MAKE NetFlow
netflow:
	$(JAVAC) Filter/*.java
	$(JAVAC) Util/*.java
	$(JAVAC) *.java
	@echo ''
	@echo '-------- NetFlow (version 1.2.8) Package Built ------'
	@echo ''
#----------------------------------------------------------- MAKE Util
Util:
	(cd Util;$(MAKE);)
#----------------------------------------------------------- MAKE Filter
Filter:
	(cd Filter;$(MAKE);)

#----------------------------------------------------------- MAKE CLEAN
clean:
	rm -f *.class *~
	(cd Util; $(MAKE) clean)
	(cd Filter; $(MAKE) clean)
	(cd tests; $(MAKE) clean)


